home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / bullet_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-31  |  2.8 KB  |  89 lines

  1. #ifndef PRAGMAS_BULLET_PRAGMAS_H
  2. #define PRAGMAS_BULLET_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: bullet_pragmas.h 7.1 (22.5.1992)
  6. **
  7. **    Direct ROM interface (pragma) definitions.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  14. #ifndef __CLIB_PRAGMA_LIBCALL
  15. #define __CLIB_PRAGMA_LIBCALL
  16. #endif /* __CLIB_PRAGMA_LIBCALL */
  17. #else /* __MAXON__, __STORM__ or AZTEC_C */
  18. #ifndef __CLIB_PRAGMA_AMICALL
  19. #define __CLIB_PRAGMA_AMICALL
  20. #endif /* __CLIB_PRAGMA_AMICALL */
  21. #endif /* */
  22.  
  23. #if defined(__SASC) || defined(__STORM__)
  24. #ifndef __CLIB_PRAGMA_TAGCALL
  25. #define __CLIB_PRAGMA_TAGCALL
  26. #endif /* __CLIB_PRAGMA_TAGCALL */
  27. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  28.  
  29. #ifndef CLIB_BULLET_PROTOS_H
  30. #include <clib/bullet_protos.h>
  31. #endif /* CLIB_BULLET_PROTOS_H */
  32.  
  33. #ifdef __CLIB_PRAGMA_LIBCALL
  34.  #pragma libcall BulletBase OpenEngine 1e 00
  35. #endif /* __CLIB_PRAGMA_LIBCALL */
  36. #ifdef __CLIB_PRAGMA_AMICALL
  37.  #pragma amicall(BulletBase, 0x1e, OpenEngine())
  38. #endif /* __CLIB_PRAGMA_AMICALL */
  39. #ifdef __CLIB_PRAGMA_LIBCALL
  40.  #pragma libcall BulletBase CloseEngine 24 801
  41. #endif /* __CLIB_PRAGMA_LIBCALL */
  42. #ifdef __CLIB_PRAGMA_AMICALL
  43.  #pragma amicall(BulletBase, 0x24, CloseEngine(a0))
  44. #endif /* __CLIB_PRAGMA_AMICALL */
  45. #ifdef __CLIB_PRAGMA_LIBCALL
  46.  #pragma libcall BulletBase SetInfoA 2a 9802
  47. #endif /* __CLIB_PRAGMA_LIBCALL */
  48. #ifdef __CLIB_PRAGMA_AMICALL
  49.  #pragma amicall(BulletBase, 0x2a, SetInfoA(a0,a1))
  50. #endif /* __CLIB_PRAGMA_AMICALL */
  51. #ifdef __CLIB_PRAGMA_TAGCALL
  52.  #ifdef __CLIB_PRAGMA_LIBCALL
  53.   #pragma tagcall BulletBase SetInfo 2a 9802
  54.  #endif /* __CLIB_PRAGMA_LIBCALL */
  55.  #ifdef __CLIB_PRAGMA_AMICALL
  56.   #pragma tagcall(BulletBase, 0x2a, SetInfo(a0,a1))
  57.  #endif /* __CLIB_PRAGMA_AMICALL */
  58. #endif /* __CLIB_PRAGMA_TAGCALL */
  59. #ifdef __CLIB_PRAGMA_LIBCALL
  60.  #pragma libcall BulletBase ObtainInfoA 30 9802
  61. #endif /* __CLIB_PRAGMA_LIBCALL */
  62. #ifdef __CLIB_PRAGMA_AMICALL
  63.  #pragma amicall(BulletBase, 0x30, ObtainInfoA(a0,a1))
  64. #endif /* __CLIB_PRAGMA_AMICALL */
  65. #ifdef __CLIB_PRAGMA_TAGCALL
  66.  #ifdef __CLIB_PRAGMA_LIBCALL
  67.   #pragma tagcall BulletBase ObtainInfo 30 9802
  68.  #endif /* __CLIB_PRAGMA_LIBCALL */
  69.  #ifdef __CLIB_PRAGMA_AMICALL
  70.   #pragma tagcall(BulletBase, 0x30, ObtainInfo(a0,a1))
  71.  #endif /* __CLIB_PRAGMA_AMICALL */
  72. #endif /* __CLIB_PRAGMA_TAGCALL */
  73. #ifdef __CLIB_PRAGMA_LIBCALL
  74.  #pragma libcall BulletBase ReleaseInfoA 36 9802
  75. #endif /* __CLIB_PRAGMA_LIBCALL */
  76. #ifdef __CLIB_PRAGMA_AMICALL
  77.  #pragma amicall(BulletBase, 0x36, ReleaseInfoA(a0,a1))
  78. #endif /* __CLIB_PRAGMA_AMICALL */
  79. #ifdef __CLIB_PRAGMA_TAGCALL
  80.  #ifdef __CLIB_PRAGMA_LIBCALL
  81.   #pragma tagcall BulletBase ReleaseInfo 36 9802
  82.  #endif /* __CLIB_PRAGMA_LIBCALL */
  83.  #ifdef __CLIB_PRAGMA_AMICALL
  84.   #pragma tagcall(BulletBase, 0x36, ReleaseInfo(a0,a1))
  85.  #endif /* __CLIB_PRAGMA_AMICALL */
  86. #endif /* __CLIB_PRAGMA_TAGCALL */
  87.  
  88. #endif /* PRAGMAS_BULLET_PRAGMAS_H */
  89.